package zzg.study.protocol.response;

import lombok.Data;
import lombok.EqualsAndHashCode;
import zzg.study.protocol.Packet;
import zzg.study.session.Session;

import java.util.List;

import static zzg.study.protocol.command.Command.LIST_GROUP_MEMBERS_RESPONSE;

/**
 * @Classname ListGroupMembersResponsePacket
 * @Description 列表展示群成员响应packet
 * @Date 2023/12/9 23:47
 * @Author zhuzhenguo
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ListGroupMembersResponsePacket extends Packet {

    private String groupId;

    private List<Session> sessionList;

    @Override
    public Byte getCommand() {
        return LIST_GROUP_MEMBERS_RESPONSE;
    }
}

